package com.smart_campus.sys.mapper;

import com.smart_campus.sys.domain.Feedback;import com.smart_campus.sys.vo.FeedbackVo;import java.util.List;import java.util.Map;

/**
 * @author Alfred
 * @time: 2020/6/19 11:19
 */
public interface FeedbackMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Feedback record);

    int insertSelective(Feedback record);

    Feedback selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Feedback record);

    int updateByPrimaryKey(Feedback record);

    List<Map> queryAllFeedback(FeedbackVo feedbackVo);

    int queryMax();

    Integer queryByIdDept(Integer userId);

}